package org.itboys.trade.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.itboys.trade.entity.mysql.AdminAmount;

public interface AdminAmountMapper {
	 public  List<AdminAmount> list(Map<String, Object> search);
	 public  AdminAmount getById(long id);
	 public  AdminAmount getByUserIdAndType(@Param("objId")Long userId,@Param("objType")Integer userType);
	 public int updateSellerWithdraw(@Param("objId")Long userId,@Param("objType")Integer userType, @Param("amount") Double amount);
}